<template>
  <el-container>
    <el-header style="height: 50px">
      <span>个人信息</span>
    </el-header>
    <el-main>
      <el-form
        label-position="right"
        label-width="80px"
        :model="formLabelAlign"
      >

        <el-form-item label="昵称:">
          <el-input
            v-model="formLabelAlign.name"
            size="small"
            placeholder="你的昵称"
          ></el-input>
        </el-form-item>
        <el-form-item label="邮箱:">
          <el-input
            v-model="formLabelAlign.email"
            size="small"
          ></el-input>
        </el-form-item>
        <el-form-item label="学号:">
          <el-input
            v-model="formLabelAlign.stunumber"
            size="small"
          ></el-input>
        </el-form-item>
        <el-form-item label="学院:">
          <el-input
            v-model="formLabelAlign.academy"
            size="small"
            placeholder="你的学院"
          ></el-input>
        </el-form-item>
        <el-form-item label="专业:">
          <el-input
            v-model="formLabelAlign.profession"
            size="small"
            placeholder="你的专业"
          ></el-input>
        </el-form-item>
        <el-form-item label="班级:">
          <el-input
            v-model="formLabelAlign.class"
            size="small"
            placeholder="你的班级"
          ></el-input>
        </el-form-item>
        <el-form-item label="性别:">
          <el-radio-group
            v-model="radio"
            size="small"
          >
            <el-radio
              label="男"
              border
            ></el-radio>
            <el-radio
              label="女"
              border
            ></el-radio>
            <el-radio
              label="保密"
              border
            ></el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="出生日期:">
          <el-date-picker
            v-model="value"
            type="date"
            placeholder="选择日期"
            icon="el-icon-date"
          >
          </el-date-picker>
        </el-form-item>
      </el-form>
    </el-main>
    <el-footer>
      <el-divider></el-divider>
      <el-button
        type="primary"
        round
      >保存</el-button>
    </el-footer>
  </el-container>
</template>

<script>
export default {
  name: 'PersonalSetting',
  data () {
    return {
      formLabelAlign: {
        name: '',
        stunumber: '',
        profession: '',
        academy: '',
        class: '',
        email: ''
      },
      radio: '保密',
      value: ''
    }
  }
}
</script>

<style lang="less" scoped>
.el-header {
  width: 100%;
  line-height: 50px;
  display: flex;
  justify-content: flex-start;
  font-size: 16px;
  color: #00a1d6;
  border-bottom: 1px solid #e1e2e5;
}
.el-form {
  float: left;
}
</style>
